package com.nofx.mydemo.controller;

import com.nofx.mydemo.service.IBizService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yanyuchi
 * @date 2021-04-07 21:07
 */
@RestController
@RequestMapping("/strategy")
public class StrategyController {

    @Autowired
    private IBizService bizService;


    @PostMapping("/check")
    public String check(String order,Integer level){
       return bizService.check(order,level);
    }
}
